<jsp:useBean id="beatModel" scope="request" class="code.BeatModel"/>

<html>
<head>
    <title>DJ View</title>
</head>
<body>

<h1>DJ View</h1>
Beats per minutes =
<jsp:getProperty name="beatModel" property="BPM"/>
|||
<jsp:getProperty name="beatModel" property="ss"/>
<br/>
<hr>
<br/>

<form method="get" action="/servlet/DJViewServlet">
    BPM: <input type=text name="bpm"
                value="<jsp:getProperty name='beatModel' property='BPM' />">
    &nbsp;

    <input type="submit" name="set" value="set"><br/>
    <input type="submit" name="decrease" value="<<">
    <input type="submit" name="increase" value=">>"><br/>
    <input type="submit" name="on" value="on">
    <input type="submit" name="off" value="off"><br/>
</form>

</body>
</html>

